package com.example.baselib.imageLoader;

import ohos.agp.components.Image;

/**
 * Description:  TODO
 * Author: admin
 * CreateDate: 2021/4/8 9:54
 */
public interface ImageLoaderListener {
    /**
     * 开始加载
     *
     * @param obj
     * @param component
     */
    void onLoadingStarted(Object obj, Image component);

    void onLoadingFailed(Object obj, Image component);

    void onLoadingComplete(Object obj, Image component);

    void onLoadingCancelled(Object obj, Image component);
}
